package cn.wsn2018.tools.model;

/**
 * 用于存放协议字段域的类
 */
public class Fields {
    private String fieldName;
    private int start;
    private int length;

    public String getFieldName() {
        return fieldName;
    }
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
    public int getStart() {
        return start;
    }
    public void setStart(int start) {
        this.start = start;
    }
    public int getLength() {
        return length;
    }
    public void setLength(int length) {
        this.length = length;
    }
    @Override
    public String toString() {
        return "Fields{" +
                "fieldName='" + fieldName + '\'' +
                ", start=" + start +
                ", length=" + length +
                '}';
    }
}
